

<body>
	#{if x . contains ("tagAdded")} 
	congratulations your tag has been added
	successfully 
	#{/if} 
	#{else} #{if x.contains ("NotFound")}
				 I am sorry this tag is not found Would you like to create One?

				<form action="@{Ttags.createTagForIdea()}" method="post">
				<input type="hidden" name="name" id="name" value=${tag}> <input
				type="hidden" name="newlyTaggedIdeaId" id="newlyTaggedIdeaId"
				value=${taggedIdeaId}> <input type="submit" Name="Yes"
				value="Yes">
				</form>
				<br />
				<a href="@{Ideas.viewIdea(taggedIdeaId)}"> NO </a>
	  		#{/if}	
	  		 #{else} #{if x.contains("AlreadyFound")} tag is already added 
	  		 			#{/if} 
	  		 			#{else} Sorry,You don't have enough privileges 
	  		 			#{/else}
	  		 #{/else} 
	  #{/else}
	<br />
	<a href="@{Ideas.viewIdea(taggedIdeaId)}"> back to viewing the idea
	</a>
</body>



